package bavaria.hightec.banking;



public class Element<E> {
	
	public Element<E> next;
	private final Object amount;
	private final Object matter;
	private final Object accounting;
	
	public Element(Object accounting,Object amount,Object matter){
		
		this.amount=amount;
		this.matter=matter;
		this.accounting=accounting;
	}
	
	public final String getData(){
		String s= accounting +" "+amount.toString()+" "+matter;
		return s;
	}
	

}


